<!DOCTYPE html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="my-taglib" prefix="my"%>  

<html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>法和药业后台管理系统</title>
    
        <!-- Bootstrap framework -->
            <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />
            <link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.min.css" />
        <!-- jQuery UI theme-->
            <link rel="stylesheet" href="lib/jquery-ui/css/Aristo/Aristo.css" />
		<!-- gebo blue theme-->
            <link rel="stylesheet" href="css/blue.css" id="link_theme" />
        <!-- breadcrumbs-->
            <link rel="stylesheet" href="lib/jBreadcrumbs/css/BreadCrumb.css" />
        <!-- tooltips-->
            <link rel="stylesheet" href="lib/qtip2/jquery.qtip.min.css" />
        <!-- notifications -->
            <link rel="stylesheet" href="lib/sticky/sticky.css" />    
        <!-- splashy icons -->
            <link rel="stylesheet" href="img/splashy/splashy.css" />
		<!-- colorbox -->
            <link rel="stylesheet" href="lib/colorbox/colorbox.css" />
		<!-- CLEditor -->
            <link rel="stylesheet" href="lib/CLEditor/jquery.cleditor.css" />
			
        <!-- main styles -->
            <link rel="stylesheet" href="css/style.css" />
			
           <!--  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans" /> -->
	
        <!-- Favicon -->
            <link rel="shortcut icon" href="favicon.ico" />
		<!-- 通用css -->
          <link rel="stylesheet" href="css_fahe/manage.css" />
        <!--[if lte IE 8]>
            <link rel="stylesheet" href="css/ie.css" />
            <script src="js/ie/html5.js"></script>
			<script src="js/ie/respond.min.js"></script>
        <![endif]-->
		
		<script>
			//* hide all elements & show preloader
			document.documentElement.className += 'js';
		</script>
    </head>
    <body>
		<div id="maincontainer" class="clearfix">
			<!-- header -->
            <header>
             	<%@ include file="../maninc/managepagestop.jsp"%>
            </header>
                <div class="container-fluid" id="contentdiv">
			    <div class="row-fluid">
			    <div class="span12" >
				    <div class="span3" id="leftsilber">
				    	<%@ include file="../maninc/managepagesleft.jsp"%>	
				    </div>
				    <div class="span9">
				    	
							<div class="chat_box">
								<div class="row-fluid">
									<div class="span12 chat_sidebar">
									
										<div class="chat_heading clearfix">
											<div class="btn-group pull-right">
												<a href="toadddrug" class="btn btn-mini ttip_t" title="新增药品"><i class="icon-plus"></i></a>
											</div>
											药品管理
										</div>
										
										
										
										  <c:forEach items="${rf.items}" var="du">  
												<div class="drugitem">  
													<img src="${du.goodspic}" >
													<div class="drugname">
												  	 	<a href="toeidtdrugbyid?drugid=${du.id }"><c:out value="${du.drugname}"/></a>
												  	 	<div class="btn-group pull-right">
															<a class="btn btn-mini ttip_t" title="删除药品" href="todeldrug?drugid=${du.id }">
																<i class="icon-plus"></i>
															</a>
														</div> 
												   </div>
												   
												   

												   <%-- <div class="deldrug">
												  	 	<a href="todeldrugbyid?drugid=${du.id }"><c:out value="${du.drugname}"/></a> 
												   </div> --%>
												   
												   <div class="drugdesc">
												  	 	<c:out value="${du.remark}"/>
												   </div>
												   
												   <%--  <a href="eidtnewsbyid?newsid=${du.id }">修改</a></td> --%>
												</div>  
										  </c:forEach>  
										
									</div>
								</div>
							</div>
							
							
								<my:paging curr="${rf.currentPage}" total="${rf.pageCount}" size="${rf.pageSize}" href="todrugmanage"/>  
    
						</div>
				    </div>
			    </div>
			   </div>
        
        
            <script src="js/jquery.min.js"></script>
			<!-- smart resize event -->
			<script src="js/jquery.debouncedresize.min.js"></script>
			<!-- hidden elements width/height -->
			<script src="js/jquery.actual.min.js"></script>
			<!-- js cookie plugin -->
			<script src="js/jquery_cookie.min.js"></script>
			<!-- main bootstrap js -->
			<script src="bootstrap/js/bootstrap.min.js"></script>
			<!-- tooltips -->
			<script src="lib/qtip2/jquery.qtip.min.js"></script>
			<!-- jBreadcrumbs -->
			<script src="lib/jBreadcrumbs/js/jquery.jBreadCrumb.1.1.min.js"></script>
			
			<!-- CLEditor -->
			<script src="lib/CLEditor/jquery.cleditor.js"></script>
			<script src="lib/CLEditor/jquery.cleditor.icon.min.js"></script>
			
			<script>
				$(document).ready(function() {
					$("#collapseDrug").addClass('in');
					$("#collapseDrug").css('height','auto');
					//* show all elements & remove preloader
					setTimeout('$("html").removeClass("js")',1000);
				});
			</script>
		
		</div>
	</body>
</html>